<?php
define("PHP_INT_MIN", ~PHP_INT_MAX);

function __autoload($class) {
	if (strpos($class, '(') !== FALSE) {
		$class = substr($class, 0, strpos($class, '('));
	}

	$core_class = "core/{$class}.php";
	
	if (file_exists($core_class)) {
		require_once $core_class;
	}
}
?>
